<?php

namespace App\Modules\Apicrzs\Http\Controllers\Intake;

use App\Modules\Apicrzs\Http\Controllers\BaseApicrzsController;
use App\Modules\Apicrzs\Services\Water\EquipmentFreeService;
use Illuminate\Http\Request;

class EquipmentFreeController extends BaseApicrzsController
{
    public function __construct(EquipmentFreeService $service)
    {
        $this->service = $service;
    }

    public function lists(Request $request)
    {
        $result = $this->service->getFreeList($request->all());

        return $this->sendApiSuccess($result, $this->service->getError());
    }

}
